package com.viu.technology.service.user;

import com.viu.technology.po.User;

public interface UserService {

    User getUserAndRoleById(String id);

    User getUserAndRoleByPhone(String phone);

    User getUserInfoById(String id);

    User registerUser(User user);

    String login(String phone, String password);

    User insertUserInfoToCache(String userId, User user);
}
